package com.csg.ses.dao.ses;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csg.ses.entity.ses.SysInterfaceLogEntity;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 接口日志
 * @author wangjun
 * @date 2020-11-18 15:53:40
 */
@Mapper
public interface SysInterfaceLogDao extends BaseMapper<SysInterfaceLogEntity> {
    IPage<SysInterfaceLogEntity> retrieve(IPage<SysInterfaceLogEntity> page, @Param(Constants.WRAPPER) Wrapper<SysInterfaceLogEntity> qw);
    List<SysInterfaceLogEntity> selByIsSuccessAndTime(SysInterfaceLogEntity sysInterfaceLogEntity);
}